package com.xqboss.apps.vo.punch;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.xqboss.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 *     用户打卡记录
 * </p>
 * @author Trent
 * @date 2023/8/15
 */
@Data
@ApiModel
public class UserPunchRecordVo {

    @ApiModelProperty("用户打卡记录ID")
    private Long id;
    /**
     * 用户ID
     */
    @ApiModelProperty("用户ID")
    private Long userId;

    /**
     * 打卡规则
     */
    @ApiModelProperty("打卡规则ID")
    private Long punchRuleId;

    /**
     * 打卡队伍
     */
    @ApiModelProperty("打卡队伍ID")
    private Long teamId;

    /**
     * 打卡类型
     */
    @ApiModelProperty("打卡类型(1.喝水)")
    private Integer type;

    /**
     * 收益：幸运值 * 收益折算系数
     */
    @ApiModelProperty("收益")
    private BigDecimal income;

    /**
     * 耐久度消耗
     */
    @ApiModelProperty("耐久度消耗")
    private BigDecimal durabilityUse;

    /**
     * 破损度消耗
     */
    @ApiModelProperty("破损度消耗")
    private BigDecimal breakageUse;


    @ApiModelProperty("打卡时间")
    private LocalDateTime createTime;


    @ApiModelProperty("是否已经达到收益上限")
    private Boolean reachingDayMax;
}
